

MKCONF_DIR := ../../../mkconfig
LIBC_DIR := ../../../libc


include $(MKCONF_DIR)/compile.mk

CONFIG_DIR := $(TOPDIR)/../..
ifneq ($(MAKECMDGOALS),clean)
AUTOCONF_MK = $(BUILD_DIR)\autoconfig.mk
sinclude $(AUTOCONF_MK)
endif
CONF_FILES += $(CONFIG_DIR)/model/$(BOARD)/config/config.mk

CPPFLAGS += -I$(CONFIG_DIR)/include -I$(CONFIG_DIR)/include/arch/$(ARCH) \
	 -I$(CONFIG_DIR)/model/$(BOARD)/config
export CPPFLAGS



COBJS-y := 
COBJS-$(CONFIG_RFID_ISO14443) += 

COBJS-$(CONFIG_RFID_PN512) += pn512.o cicc_api.o cicc_iso14443.o cicc_public.o cicc_func.o  
COBJS-$(CONFIG_RFID_RC531) += cicc_rc531.o cicc_api.o cicc_iso14443.o cicc_public.o cicc_func.o  
COBJS-$(CONFIG_RFID_AS3911) += as3911_com.o as3911_gain_adjustment.o \
        as3911_interrupt.o as3911_io.o as3911_modulation_adjustment.o \
        cicc_api_as3911.o emv_display.o emv_hal.o emv_layer4.o  emv_main.o \
        emv_picc.o emv_poll.o emv_prelayer4.o emv_response_buffer.o \
        emv_typeA.o emv_typeB.o logger.o  

include $(MKCONF_DIR)/subdir.mk
include $(MKCONF_DIR)/operation.mk

